package com.hl.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 地址表管理对象 address
 * 
 * @author ruoyi
 * @date 2025-08-08
 */
public class Address extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址id */
    private Long addressId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 省 */
    @Excel(name = "省")
    private String addressProvince;

    /** 街道门牌号 */
    @Excel(name = "街道门牌号")
    private String addressDetail;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String receiverName;

    /** 收货人电话 */
    @Excel(name = "收货人电话")
    private String receiverTel;

    /** 是否默认地址 0否1是 */
    @Excel(name = "是否默认地址 0否1是")
    private Integer addressDefault;

    /** 市 */
    @Excel(name = "市")
    private String addressCity;

    /** 区(镇) */
    @Excel(name = "区(镇)")
    private String addressTown;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setAddressProvince(String addressProvince) 
    {
        this.addressProvince = addressProvince;
    }

    public String getAddressProvince() 
    {
        return addressProvince;
    }

    public void setAddressDetail(String addressDetail) 
    {
        this.addressDetail = addressDetail;
    }

    public String getAddressDetail() 
    {
        return addressDetail;
    }

    public void setReceiverName(String receiverName) 
    {
        this.receiverName = receiverName;
    }

    public String getReceiverName() 
    {
        return receiverName;
    }

    public void setReceiverTel(String receiverTel) 
    {
        this.receiverTel = receiverTel;
    }

    public String getReceiverTel() 
    {
        return receiverTel;
    }

    public void setAddressDefault(Integer addressDefault) 
    {
        this.addressDefault = addressDefault;
    }

    public Integer getAddressDefault() 
    {
        return addressDefault;
    }

    public void setAddressCity(String addressCity) 
    {
        this.addressCity = addressCity;
    }

    public String getAddressCity() 
    {
        return addressCity;
    }

    public void setAddressTown(String addressTown) 
    {
        this.addressTown = addressTown;
    }

    public String getAddressTown() 
    {
        return addressTown;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("userId", getUserId())
            .append("addressProvince", getAddressProvince())
            .append("addressDetail", getAddressDetail())
            .append("receiverName", getReceiverName())
            .append("receiverTel", getReceiverTel())
            .append("addressDefault", getAddressDefault())
            .append("addressCity", getAddressCity())
            .append("addressTown", getAddressTown())
            .toString();
    }
}
